package com.hf.eagle.dao.impl;

import java.util.List;

import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Service;

import com.hf.eagle.dao.ProductInfoDao;
import com.hf.eagle.domain.ProductInfo;
import com.ebiz.ssi.dao.ibatis.EntityDaoSqlMapImpl;

/**
 * @author Xu,XiaoYuan
 * @version 2011-09-06 23:44
 */
@Service
public class ProductInfoDaoImpl extends EntityDaoSqlMapImpl<ProductInfo> implements ProductInfoDao {

	@SuppressWarnings("unchecked")
	public List<ProductInfo> selectProductAlbumList(ProductInfo t) throws DataAccessException {
		return super.getSqlMapClientTemplate().queryForList("selectProductAlbumList", t);
	}

	@SuppressWarnings("unchecked")
	public List<ProductInfo> selectAllProductWithType(ProductInfo t) throws DataAccessException {
		return super.getSqlMapClientTemplate().queryForList("selectAllProductWithType", t);
	}

}
